class CreateAccommodations < ActiveRecord::Migration
  def self.up
    create_table :accommodations do |t|
      t.string :guest_cpf
      t.integer :room_num
      t.integer :num_persons
      t.string :emp_cpf
      t.integer :request_id
      t.date :arrive_date
      t.date :exit_date

      t.timestamps
    end
  end

  def self.down
    drop_table :accommodations
  end
end
